<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ page import="java.io.*,java.util.*,java.text.*" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<s:form>
<table align="center" id="text" border=1>
<tr>
<th>Subject code</th>
</tr>
<s:iterator value = "subjects">
<tr>
<td>
<s:url id="syllabus" action="syllabusPage">
  <s:param name="subjectCode" value="subjectCode"/> 
  <s:param name="subjectName" value="subjectName"/> 
   </s:url>
   <s:a href="%{syllabus}"><s:property value="subjectCode"/></s:a>

</td>

</tr>
</s:iterator>
</table>
</s:form>
</body>
</html>